<%@ include file="/common/taglibs.jsp" %>
<c:set var="url"><spring:url value="/orders/maintainCashInConvinientStorePayment.html"/></c:set>
<c:set var="goToPreviousPathUrl"><spring:url value="${paymentDto.previousPath}"/></c:set>
<head>
	<title><spring:message code="orders.payment.CashInConvinientStore.header"/></title>
	<script type="text/javascript">
	$(function(){
		$("#goToPreviousPath").click(function(){
			location.assign("${goToPreviousPathUrl}");
		});

	});
	</script>
</head>
<p>
	<spring:message code="orders.payment.CashInConvinientStore.header"/>
</p>
<form:form commandName="paymentDto" method="post" action="${url}">
	<table>
		<%@ include file="/WEB-INF/pages/orders/maintainPayment.jsp" %>
		<tr>
			<td colspan="2">
				<button id="submit" type="submit" class="aButton"><spring:message code="orders.payment.CashInConvinientStore.submit"/></button>
				<button id="goToPreviousPath" type="button" class="aButton"><spring:message code="orders.payment.CashInConvinientStore.goToPreviousPath"/></button>
			</td>
		</tr>
	</table>
</form:form>